import React from "react";
import store from "../../store";
import { sendAction } from "../../action";
export default class Home extends React.Component {

    handleClick = () => {
        console.log('handleClick')

        const action = sendAction()
        store.dispatch(action)
    }
    render() {
        return (
            <button onClick={ this.handleClick }>点我 点我</button>
        )
    }
}